package com.example.flying_personnel_management_system.dao;

import com.example.flying_personnel_management_system.pojo.WorkStatement;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Mapper
@Repository
public interface WorkStatementMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WorkStatement record);

    WorkStatement selectByPrimaryKey(Long id);

    List<WorkStatement> selectAll();

    int updateByPrimaryKey(WorkStatement record);

    //wu显示所有报告
    List<HashMap<String,String>> wsAll(int id);

}